[INFO] fetching crate login_cap 0.0.2...
[INFO] testing login_cap-0.0.2 against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] extracting crate login_cap 0.0.2 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate login_cap 0.0.2
[INFO] finished tweaking crates.io crate login_cap 0.0.2
[INFO] tweaked toml for crates.io crate login_cap 0.0.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate login_cap 0.0.2 on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 10 packages to latest compatible versions
[INFO] [stderr]       Adding bitflags v1.2.1 (available: v1.3.2)
[INFO] [stderr]       Adding nix v0.21.2 (available: v0.31.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 32a29f2b1d9d830e0982df6790cb47f86f225e58b7618d9300357f423e103e13
[INFO] running `Command { std: "docker" "start" "-a" "32a29f2b1d9d830e0982df6790cb47f86f225e58b7618d9300357f423e103e13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "32a29f2b1d9d830e0982df6790cb47f86f225e58b7618d9300357f423e103e13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "32a29f2b1d9d830e0982df6790cb47f86f225e58b7618d9300357f423e103e13", kill_on_drop: false }`
[INFO] [stdout] 32a29f2b1d9d830e0982df6790cb47f86f225e58b7618d9300357f423e103e13
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 82c7ebcc15eea93f0628cfc44d16d0dac52e353c198c2efcce4e4e054888242f
[INFO] running `Command { std: "docker" "start" "-a" "82c7ebcc15eea93f0628cfc44d16d0dac52e353c198c2efcce4e4e054888242f", kill_on_drop: false }`
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling login_cap-sys v0.1.0
[INFO] [stderr]    Compiling nix v0.21.2
[INFO] [stderr]    Compiling login_cap v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]   --> src/lib.rs:61:14
[INFO] [stdout]    |
[INFO] [stdout] 61 |     unsafe { CString::from_raw(path_ptr) };
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 61 |     unsafe { let _ = CString::from_raw(path_ptr); };
[INFO] [stdout]    |              +++++++                            +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]   --> src/lib.rs:94:14
[INFO] [stdout]    |
[INFO] [stdout] 94 |     unsafe { CString::from_raw(class_ptr) };
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 94 |     unsafe { let _ = CString::from_raw(class_ptr); };
[INFO] [stdout]    |              +++++++                             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:103:18
[INFO] [stdout]     |
[INFO] [stdout] 103 |         unsafe { CString::from_raw(class_ptr) };
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 103 |         unsafe { let _ = CString::from_raw(class_ptr); };
[INFO] [stdout]     |                  +++++++                             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:217:18
[INFO] [stdout]     |
[INFO] [stdout] 217 |         unsafe { CString::from_raw(cap_ptr) };
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 217 |         unsafe { let _ = CString::from_raw(cap_ptr); };
[INFO] [stdout]     |                  +++++++                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:260:18
[INFO] [stdout]     |
[INFO] [stdout] 260 |         unsafe { CString::from_raw(cap_ptr) };
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 260 |         unsafe { let _ = CString::from_raw(cap_ptr); };
[INFO] [stdout]     |                  +++++++                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:301:18
[INFO] [stdout]     |
[INFO] [stdout] 301 |         unsafe { CString::from_raw(cap_ptr) };
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 301 |         unsafe { let _ = CString::from_raw(cap_ptr); };
[INFO] [stdout]     |                  +++++++                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:357:13
[INFO] [stdout]     |
[INFO] [stdout] 357 |             CString::from_raw(cap_ptr);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 357 |             let _ = CString::from_raw(cap_ptr);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:358:13
[INFO] [stdout]     |
[INFO] [stdout] 358 |             CString::from_raw(def_ptr);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 358 |             let _ = CString::from_raw(def_ptr);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:359:13
[INFO] [stdout]     |
[INFO] [stdout] 359 |             CString::from_raw(err_ptr);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 359 |             let _ = CString::from_raw(err_ptr);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:397:18
[INFO] [stdout]     |
[INFO] [stdout] 397 |         unsafe { CString::from_raw(cap_ptr) };
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 397 |         unsafe { let _ = CString::from_raw(cap_ptr); };
[INFO] [stdout]     |                  +++++++                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.87s
[INFO] running `Command { std: "docker" "inspect" "82c7ebcc15eea93f0628cfc44d16d0dac52e353c198c2efcce4e4e054888242f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "82c7ebcc15eea93f0628cfc44d16d0dac52e353c198c2efcce4e4e054888242f", kill_on_drop: false }`
[INFO] [stdout] 82c7ebcc15eea93f0628cfc44d16d0dac52e353c198c2efcce4e4e054888242f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e603cc1c07088da2e3d3bfc02f920f7765a34121a87c6e483b220e0a685839d1
[INFO] running `Command { std: "docker" "start" "-a" "e603cc1c07088da2e3d3bfc02f920f7765a34121a87c6e483b220e0a685839d1", kill_on_drop: false }`
[INFO] [stderr]    Compiling login_cap v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]   --> src/lib.rs:61:14
[INFO] [stdout]    |
[INFO] [stdout] 61 |     unsafe { CString::from_raw(path_ptr) };
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 61 |     unsafe { let _ = CString::from_raw(path_ptr); };
[INFO] [stdout]    |              +++++++                            +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]   --> src/lib.rs:94:14
[INFO] [stdout]    |
[INFO] [stdout] 94 |     unsafe { CString::from_raw(class_ptr) };
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 94 |     unsafe { let _ = CString::from_raw(class_ptr); };
[INFO] [stdout]    |              +++++++                             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:103:18
[INFO] [stdout]     |
[INFO] [stdout] 103 |         unsafe { CString::from_raw(class_ptr) };
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 103 |         unsafe { let _ = CString::from_raw(class_ptr); };
[INFO] [stdout]     |                  +++++++                             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:217:18
[INFO] [stdout]     |
[INFO] [stdout] 217 |         unsafe { CString::from_raw(cap_ptr) };
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 217 |         unsafe { let _ = CString::from_raw(cap_ptr); };
[INFO] [stdout]     |                  +++++++                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:260:18
[INFO] [stdout]     |
[INFO] [stdout] 260 |         unsafe { CString::from_raw(cap_ptr) };
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 260 |         unsafe { let _ = CString::from_raw(cap_ptr); };
[INFO] [stdout]     |                  +++++++                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:301:18
[INFO] [stdout]     |
[INFO] [stdout] 301 |         unsafe { CString::from_raw(cap_ptr) };
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 301 |         unsafe { let _ = CString::from_raw(cap_ptr); };
[INFO] [stdout]     |                  +++++++                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:357:13
[INFO] [stdout]     |
[INFO] [stdout] 357 |             CString::from_raw(cap_ptr);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 357 |             let _ = CString::from_raw(cap_ptr);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:358:13
[INFO] [stdout]     |
[INFO] [stdout] 358 |             CString::from_raw(def_ptr);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 358 |             let _ = CString::from_raw(def_ptr);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:359:13
[INFO] [stdout]     |
[INFO] [stdout] 359 |             CString::from_raw(err_ptr);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 359 |             let _ = CString::from_raw(err_ptr);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:397:18
[INFO] [stdout]     |
[INFO] [stdout] 397 |         unsafe { CString::from_raw(cap_ptr) };
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 397 |         unsafe { let _ = CString::from_raw(cap_ptr); };
[INFO] [stdout]     |                  +++++++                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]   --> src/lib.rs:61:14
[INFO] [stdout]    |
[INFO] [stdout] 61 |     unsafe { CString::from_raw(path_ptr) };
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 61 |     unsafe { let _ = CString::from_raw(path_ptr); };
[INFO] [stdout]    |              +++++++                            +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]   --> src/lib.rs:94:14
[INFO] [stdout]    |
[INFO] [stdout] 94 |     unsafe { CString::from_raw(class_ptr) };
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 94 |     unsafe { let _ = CString::from_raw(class_ptr); };
[INFO] [stdout]    |              +++++++                             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:103:18
[INFO] [stdout]     |
[INFO] [stdout] 103 |         unsafe { CString::from_raw(class_ptr) };
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 103 |         unsafe { let _ = CString::from_raw(class_ptr); };
[INFO] [stdout]     |                  +++++++                             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:217:18
[INFO] [stdout]     |
[INFO] [stdout] 217 |         unsafe { CString::from_raw(cap_ptr) };
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 217 |         unsafe { let _ = CString::from_raw(cap_ptr); };
[INFO] [stdout]     |                  +++++++                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:260:18
[INFO] [stdout]     |
[INFO] [stdout] 260 |         unsafe { CString::from_raw(cap_ptr) };
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 260 |         unsafe { let _ = CString::from_raw(cap_ptr); };
[INFO] [stdout]     |                  +++++++                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:301:18
[INFO] [stdout]     |
[INFO] [stdout] 301 |         unsafe { CString::from_raw(cap_ptr) };
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 301 |         unsafe { let _ = CString::from_raw(cap_ptr); };
[INFO] [stdout]     |                  +++++++                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:357:13
[INFO] [stdout]     |
[INFO] [stdout] 357 |             CString::from_raw(cap_ptr);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 357 |             let _ = CString::from_raw(cap_ptr);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:358:13
[INFO] [stdout]     |
[INFO] [stdout] 358 |             CString::from_raw(def_ptr);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 358 |             let _ = CString::from_raw(def_ptr);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:359:13
[INFO] [stdout]     |
[INFO] [stdout] 359 |             CString::from_raw(err_ptr);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 359 |             let _ = CString::from_raw(err_ptr);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/login.rs:397:18
[INFO] [stdout]     |
[INFO] [stdout] 397 |         unsafe { CString::from_raw(cap_ptr) };
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 397 |         unsafe { let _ = CString::from_raw(cap_ptr); };
[INFO] [stdout]     |                  +++++++                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/opt/rustwide/target/debug/deps/rustc7AlZGF/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libnix-dc03571493f0d398,libbitflags-b62ab2fcdb7657f2,libmemoffset-72882c1903151c47,libcfg_if-5af52f617df93f8f,liblogin_cap_sys-707bf5072043793f,liblibc-e0c2caade0d97aa4}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/debug/deps/rustc7AlZGF/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/login_cap-f8fd9467115bcc7f" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: undefined symbol: setusercontext
[INFO] [stdout]           >>> referenced by login.rs:457 (src/login.rs:457)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/login_cap-f8fd9467115bcc7f.login_cap.de2002bd1fb0c12e-cgu.0.rcgu.o:(<login_cap::login::LoginCap>::setusercontext)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: login_getclass
[INFO] [stdout]           >>> referenced by login.rs:99 (src/login.rs:99)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/login_cap-f8fd9467115bcc7f.login_cap.de2002bd1fb0c12e-cgu.0.rcgu.o:(<login_cap::login::LoginCap>::new)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: login_getcapstr
[INFO] [stdout]           >>> referenced by login.rs:339 (src/login.rs:339)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/login_cap-f8fd9467115bcc7f.login_cap.de2002bd1fb0c12e-cgu.0.rcgu.o:(<login_cap::login::LoginCap>::getcapstr)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: login_close
[INFO] [stdout]           >>> referenced by login.rs:480 (src/login.rs:480)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/login_cap-f8fd9467115bcc7f.login_cap.de2002bd1fb0c12e-cgu.0.rcgu.o:(<login_cap::login::LoginCap as core::ops::drop::Drop>::drop)
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `login_cap` (lib test) due to 1 previous error; 10 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e603cc1c07088da2e3d3bfc02f920f7765a34121a87c6e483b220e0a685839d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e603cc1c07088da2e3d3bfc02f920f7765a34121a87c6e483b220e0a685839d1", kill_on_drop: false }`
[INFO] [stdout] e603cc1c07088da2e3d3bfc02f920f7765a34121a87c6e483b220e0a685839d1
